package com.wyl.niupi.framework.constant;

/**
 * 框架的常量
 *
 * @author 吴宇亮 on 2019/2/7 0007 10:42
 */
public class Const {

    //免费接口地址（https://www.mxnzp.com/api/）
    /** 获取barcode商品信息的接口地址 **/
    private static final String GETGOOD_APP_ID = "cied1ythlfnulqpn";
    private static final String GETGOOD_APP_SECRET =  "elgrMklZK0NaNUprRkN4SUd2ckROQT09";
    public static final String GET_GOODS_MSG_BY_BARCODE_URL =
            "https://www.mxnzp.com/api/barcode/goods/details?app_id=" + GETGOOD_APP_ID + "&app_secret=" + GETGOOD_APP_SECRET + "&barcode=";

//    //http状态码
//    /** http状态码 成功 **/
//    public static final String HTTP_CODE_SUCCESS = "200";
//    /** http状态码 失败 **/
//    public static final String HTTP_CODE_FAIL = "400";
//    /** http状态码 后台报错 **/
//    public static final String HTTP_CODE_ERROR = "404";

    //Layui状态码
    /** layui状态码 成功 **/
    public static final String LAYUI_CODE_SUCCESS = "0";

    //特殊角色
    /** 系统管理员 **/
    public static final int ROLE_ADMIN = 1;

    //通用字段
    public static final String IS_DELETE = "isDelete";
    public static final String IS_USE = "isUse";
    public static final String TRUE = "true";
    public static final String FALSE = "false";

    //常量
    /** 0否 **/
    public static final int IS_NO = 0;
    /** 1是 **/
    public static final int IS_YEW = 1;



}
